package com.wn.pojo;

import javax.validation.constraints.NotEmpty;
import java.util.Date;

public class MedicalRecordDetail {
    private Integer id;

    private Integer medicalRecordId;
@NotEmpty(message = "病历详情不能为空")
    private String detail;

    private Integer createUserId;

    private Date updateTime;

    private Date createTime;

    private Integer updateUserId;

    private Integer isDeleted;

    public MedicalRecordDetail(Integer id, Integer medicalRecordId, String detail, Integer createUserId, Date updateTime, Date createTime, Integer updateUserId, Integer isDeleted) {
        this.id = id;
        this.medicalRecordId = medicalRecordId;
        this.detail = detail;
        this.createUserId = createUserId;
        this.updateTime = updateTime;
        this.createTime = createTime;
        this.updateUserId = updateUserId;
        this.isDeleted = isDeleted;
    }

    public MedicalRecordDetail() {
        super();
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getMedicalRecordId() {
        return medicalRecordId;
    }

    public void setMedicalRecordId(Integer medicalRecordId) {
        this.medicalRecordId = medicalRecordId;
    }

    public String getDetail() {
        return detail;
    }

    public void setDetail(String detail) {
        this.detail = detail == null ? null : detail.trim();
    }

    public Integer getCreateUserId() {
        return createUserId;
    }

    public void setCreateUserId(Integer createUserId) {
        this.createUserId = createUserId;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Integer getUpdateUserId() {
        return updateUserId;
    }

    public void setUpdateUserId(Integer updateUserId) {
        this.updateUserId = updateUserId;
    }

    public Integer getIsDeleted() {
        return isDeleted;
    }

    public void setIsDeleted(Integer isDeleted) {
        this.isDeleted = isDeleted;
    }
}